﻿using Grow.Module.Builder;

namespace Grow.ObjectMapper.CreateObjectMapper
{
    public interface ICreateObjectMapperBuilder : IBuilder
    {
        /// <summary>
        /// 获取 Table Map 集合
        /// </summary>
        /// <returns></returns>
        IEnumerable<IObjectMapperMap> GetObjectMapperMaps();

        ICreateObjectMapperBuilder AddObjectMapperMap<TObjectMapperMap>()
            where TObjectMapperMap : IObjectMapperMap, new();
    }
}
